<div class="row">
	<div class="col-lg-12">
		<#if requestLogList?? && requestLogList.content?? && requestLogList.content?size gt 0>
		<table class="layui-table" lay-skin="line">
			  <thead>
				<tr>
				  <th>
					  <input type="checkbox" id="all" onclick="$('.ids').prop('checked' , $(this).prop('checked'));"/>
				  </th>
				  <th>名称</th>
				  <th>操作人</th>
				  <th>ip</th>
				  <th>hostname</th>
				  <th>url</th>
				  <th>登录或操作时间</th>
				  <th>退出时间</th>
				  <th width="1" nowrap="nowrap">操作</th>
				</tr> 
			  </thead>
			  <tbody>
				<#list requestLogList.content as log>
					<tr>
					  <td style="width:1%;">
						<input type="checkbox" class="ids" name="ids" value="${log.id!''}"/>
					  </td>
					  <th style="width:10%;">${log.name!''}</th>
					  <th style="width:10%;" nowrap="nowrap">${log.username!''}</th>
					  <th style="width:10%;">${log.ip!''}</th>
					  <th style="width:10%;">${log.hostname!''}</th>
					  <th style="width:10%;">${log.url!''}</th>
					 <!--  <th style="width:10%;"><#if log.starttime??>${log.starttime?string("yyyy-MM-dd HH:mm:ss")}</#if></th> -->
					  <th style="width:10%;"><#if log.createdate??>${log.createdate?string("yyyy-MM-dd HH:mm:ss")}</#if></th>
					  <th style="width:10%;"><#if log.endtime??>${log.endtime?string("yyyy-MM-dd HH:mm:ss")}</#if></th>
					  <td style="white-space:nowrap;width:1%;" nowrap="nowrap" >
				  		<a href="/admin/reqlog/detail.html?id=${log.id!''}" data-title="日志预览" data-width="950" data-height="650" data-toggle="ajax">
				  			<i class="kfont">&#xe722;</i>
				  			预览
				  		</a>
				      </td>
					</tr>
				</#list>
			  </tbody>
			</table>
			<#else>
			<div class="ukefu-empty">
				<i class="layui-icon"></i>
				<div style="">
					还没有操作日志记录
				</div>
			</div>	
		</#if>
	</div> 	   
</div>
<div class="row" style="padding:5px;">
	<div class="col-lg-12" id="page" style="text-align:center;"></div>
</div>